<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Customer Login</title>
</head>
<body>
<%@include file="Header.jsp"%><br><br>

<center>

<c:if test="${ErrorMessage!=null}" >
	<font color="red"><c:out value="${ErrorMessage}"></c:out></font>
</c:if>
<c:if test="${ username!=null}">
	<c:set var="username" value="${username}">
	</c:set>
</c:if>

</center>

<center>
	
<c:if test="${AckMessage!=null}">
	<c:out value="${AckMessage}"></c:out>
</c:if>
	

</center>

<html:errors/>
<center><h3>Customer Sign in</h3></center><br>
<center>
	<html:form action="loginform.do" method="post" >
		Username: <html:text name="LoginForm" property="username" /><br><br>
		Password: <html:password name="LoginForm" property="password" /><br><br>
		<html:submit value="Sign in"/>
		<html:reset value="Cancel"/>
	</html:form>
</center>
<%@include file="Footer.jsp"%>
</body>
</html>